package com.ruoyi.rsikManage.service;

import com.ruoyi.rsikManage.domain.VideoDiagnosisResult;
import com.ruoyi.rsikManage.domain.vo.MonitorPointDiagnosisResultVo;

import java.util.HashMap;
import java.util.List;

public interface VideoDiagnosisService {
    //更新数据库中的诊断结果表
    void updateAllVideoDiagnosisResult();
    List<VideoDiagnosisResult> selectVideoDiagnosisResult();

    int insertVideoDiagnosisResult(VideoDiagnosisResult videoDiagnosisResult);

    int updateVideoDiagnosisResultById(VideoDiagnosisResult videoDiagnosisResult);

    int deleteVideoDiagnosisResultById(Integer id);

    int deleteVideoDiagnosisResultByIds(Integer[] ids);

    int deleteAllVideoDiagnosisResult();

    List<MonitorPointDiagnosisResultVo> selectHistoryDiagnosisResult(HashMap<String, Object> param);

    void recordAbnormalDiagnosticResultList(List<VideoDiagnosisResult> abnormalVideoDiagnosisResultList);

    void recordAbnormalDiagnosticResultListForUnitCodes(List<VideoDiagnosisResult> abnormalVideoDiagnosisResultList);

    void insertVideoDiagnosisResultList(List<VideoDiagnosisResult> list);

    void insertVideoDiagnosisResultListForUnitCodes(List<VideoDiagnosisResult> list);

    void deleteVideoDiagnosisResultHistory();
}
